package com.ruoyi.web.controller.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BusinessMetrics {

    private Integer orderCount;              // 订单数量
    private Integer completedOrderCount;     // 已完成订单数量
    private Integer shortLinkKeyCount;       // 短链key数量
    private Integer loginH5Count;         // h5访问数量
    private Integer loginShortLinkCount;         // 短链访问数量
    private Double transactionAmount;    // 交易额
    private Double refundAmount;         // 退款额
    private Integer alipaySuccessCount;      // 支付宝支付成功数
    private Integer wechatPaySuccessCount;   // 微信支付成功数
    private Integer miniProgramPaySuccessCount; // 小程序支付成功数

    List<Map<String, Object>> orderTypeList;
    List<Map<String, Object>> orderPayTypeList;

}
